home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Life 1997 February
/
Computer Life February 1997.iso
/
TELME
/
COMMS
/
MOBI5000.SRP
< prev
next >
Wrap
Text File
|
1996-06-04
|
1KB
|
72 lines
rem Copyright (c) PhoneLink Data PLC
rem Mobile - Mobidem (10/8/95)
label InitDevice
echo off
echo script[56]
send "at&fchar(13)"
timeout 5,modem_fail
find "OK"
rem compression initialisation string
rem send "at&d4#f1#K0S7=30S12=0S40=1S47=1S50=2S51=2#t1#w0char(13)"
rem normal initialisation string
echo script[57]
send "at&d4#f1#K0S7=30S12=0S40=1#t1#w0char(13)"
timeout 5,modem_fail
find "OK"
label OffToGate
echo off
echo script[52]..
send "atdt{PreTel}{SiteTel}{Postfix}/{Sub},11char(13)"
timeout 40,connect_fail
finderr 0,BUSY,busy
finderr 103,NO DIALTONE,connect_fail
finderr 0,NO CARRIER,no_carrier
find "CONNECT"
echo script[54].
end
label GateToOff
echo off
echo script[92]
send "+++"
timeout 5,command_mode_fail
find "OK"
send "ath1#w1char(13)"
timeout 5,hang_up_fail
find "OK"
echo script[99].
end
label mobidem_offline
echo script[92]
send "ath1#w1char(13)"
timeout 5,hang_up
find "OK"
label hang_up
abort
label modem_fail
echo script[23]
abort
label connect_fail
echo script[1]
goto mobidem_offline
label busy
echo script[2]
goto mobidem_offline
label no_carrier
echo script[3]
goto mobidem_offline
label command_mode_fail
echo script[15]
goto mobidem_offline
label hang_up_fail
echo script[17]
abort